* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #3498db, #8e44ad);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    color: #333;
}

.runner-graphic {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 800px;
    margin: 20px 0 40px;
}

.runner {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    animation: runnerAnimation 3s ease-in-out infinite;
}

.runner:nth-child(2) {
    animation-delay: 0.5s;
}

.runner:nth-child(3) {
    animation-delay: 1s;
}

@keyframes runnerAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.container {
    width: 100%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 30px;
}

.register-card {
    padding: 40px 30px;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.register-header p {
    color: #7f8c8d;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

label i {
    margin-right: 8px;
    color: #3498db;
}

.input-container {
    position: relative;
}

input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

input.error {
    border-color: #e74c3c;
    animation: shake 0.4s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.input-container i:first-child {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    cursor: pointer;
}

.strength-meter {
    height: 5px;
    margin-top: 10px;
    border-radius: 5px;
    background: #eee;
    overflow: hidden;
}

.strength-meter::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    transition: width 0.3s;
}

.weak::after {
    width: 33%;
    background: #e74c3c;
}

.medium::after {
    width: 66%;
    background: #f39c12;
}

.strong::after {
    width: 100%;
    background: #2ecc71;
}

.strength-text {
    font-size: 14px;
    margin-top: 5px;
    height: 20px;
}

.terms {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.terms input {
    width: auto;
    margin-right: 10px;
}

.terms label {
    margin-bottom: 0;
    font-weight: normal;
}

.terms a {
    color: #3498db;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

button:active {
    transform: translateY(-1px);
}

.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: #7f8c8d;
}

.login-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: auto;
    padding: 20px;
}

.success-animation {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s;
}

.success-animation i {
    color: #2ecc71;
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-animation h2 {
    margin: 20px 0;
    color: #2c3e50;
}

.success-animation p {
    color: #7f8c8d;
    font-size: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}